from django.db import models


class TbDeviceInfo(models.Model):
    device_type = models.TextField(blank=True, null=True)
    sub_group = models.TextField(blank=True, null=True)
    site = models.TextField(blank=True, null=True)
    product_department = models.TextField(blank=True, null=True)
    cost_code = models.TextField(blank=True, null=True)
    group_name = models.TextField(blank=True, null=True)
    device_number = models.TextField(blank=True, null=True)
    device_name = models.TextField(blank=True, null=True)
    device_brand = models.TextField(blank=True, null=True)
    device_model = models.TextField(blank=True, null=True)
    serial_number = models.TextField(blank=True, null=True)
    origin_place = models.TextField(blank=True, null=True)
    manufacture_date = models.TextField(blank=True, null=True)
    entry_date = models.TextField(blank=True, null=True)
    acceptance_date = models.TextField(blank=True, null=True)
    use_year = models.FloatField(blank=True, null=True)
    storage_location = models.TextField(blank=True, null=True)
    regulatory_number = models.TextField(blank=True, null=True)
    customs_number = models.TextField(blank=True, null=True)
    property_number = models.TextField(blank=True, null=True)
    assets_manager = models.TextField(blank=True, null=True)
    power = models.TextField(blank=True, null=True)
    voltage = models.TextField(blank=True, null=True)
    volume = models.TextField(blank=True, null=True)
    weight = models.FloatField(blank=True, null=True)
    air_pressure = models.TextField(blank=True, null=True)
    air_consumption = models.TextField(blank=True, null=True)
    system = models.TextField(blank=True, null=True)
    speed_rated_speed = models.TextField(blank=True, null=True)
    knife_handle_model = models.TextField(blank=True, null=True)
    ip = models.TextField(blank=True, null=True)
    nc_battery_brand = models.TextField(blank=True, null=True)
    nc_battery_model = models.TextField(blank=True, null=True)
    driver_battery_brand = models.TextField(blank=True, null=True)
    driver_battery_model = models.TextField(blank=True, null=True)
    auxiliary_device_name = models.TextField(blank=True, null=True)
    auxiliary_device_brand = models.TextField(blank=True, null=True)
    auxiliary_device_model = models.TextField(blank=True, null=True)
    auxiliary_device_serial_number = models.TextField(blank=True, null=True)
    owner = models.TextField(blank=True, null=True)
    maintenance_department_name = models.TextField(blank=True, null=True)
    maintenance_department_code = models.TextField(blank=True, null=True)
    maintenance_chief = models.TextField(blank=True, null=True)
    maintenance_team_leader = models.TextField(blank=True, null=True)
    usage_status = models.TextField(blank=True, null=True)
    remarks = models.TextField(blank=True, null=True)
    hz_device_number = models.TextField(blank=True, null=True)

    class Meta:
        managed = True
        db_table = 'tb_device_info'


